package com.dq.service.messsge;

import com.dq.exception.customException.AdminException;
import com.dq.domain.message.custome.ServiceMessage;

/**
 * @author cf
 *
 */
public interface ServiceMessageService {
    /**
     * 添加
     * @param serviceMessage
     * @return
     * @throws AdminException
     */
    public ServiceMessage save(ServiceMessage serviceMessage)  throws AdminException;

    /**
     *修改
     * @param serviceMessage
     * @return
     * @throws AdminException
     */
    public ServiceMessage update(ServiceMessage serviceMessage) throws AdminException;

}
